package wwy.Dao;

import wwy.Common.LogicDao;
import wwy.Entity.CommonEntity.User;
import wwy.Entity.Orders;

import java.util.List;

public interface OrderDao extends LogicDao<Orders, Long> {
    List<Orders> findByUser(User user);

    Orders findTopByOrderByIdDesc();

}
